<?php $this->load->library('urlutility');?>
<style>
#prev {
	margin-top:-313px;
}
#next {
	margin-top:-313px;
}

</style>
<script type="text/javascript" language="javascript">
	$(function() {
		$('#prev').addClass('hide');
		$('#next').addClass('hide');
		$('#foo0').carouFredSel({
			auto:{pauseOnHover: 'resume'},
			scroll:1,
			prev: '#prev',
			next: '#next',
		});
		$('.list_carousel').mouseover(function(){
			$('#prev').removeClass('hide');
			$('#next').removeClass('hide');						  
		});
		$('.list_carousel').mouseout(function(){
			$('#prev').addClass('hide');
			$('#next').addClass('hide');						  
		});
	});
</script>
<?php if(count($listbanner)>0){?>
<div class="list_carousel ov_fl_hidden h277">
  <ul id="foo0" class="h277">
    <?php foreach($listbanner as $banner){
		if(count($banner)>0){?>
    <li> <a class="item ov_fl_hidden"> <img width="886" height="370" class="fl bder_t1_8fa8bc" src="<?php echo base_url()."uploads/carbanner/".$banner['avatar']; ?>"/> </a>
    </li>
    <?php }}?>
  </ul>
  <a href="javascript:void(0);" id="prev" class="fl"><img src="<?php echo base_url(); ?>public/images/btn_prev.gif"/></a> <a href="javascript:void(0);" id="next" class="fr"><img src="<?php echo base_url(); ?>public/images/btn_next.gif"/></a> </div>
<?php }?>

<div class="fl w660">
  <h1 class="orange item ff_museo700 mgb0 txt_indent20">Guild Search Result</h1>
  <div class="item bder_d5 pdt5 pdb5 txt_center italic"> “All car service fee include welcome amenities (bottled water and wet towel), air conditioning, fuel and taxes; but not 
    entrance ticket for tourist destinations and personal tip and expense”. </div>
  <div class="item" style="overflow:hidden;">
    <div class="item pst_relative zindex10" id="boxoutsize">
      <div class="fl w660" id="box_inside1">
        <?php foreach($data as $list){?>        
        <div class="item bder_b1_d5 pdt12 pdb10">
          <h3 class="blue ff_museo700 mgt0 pdl10 lheight23 cap f16"><?php echo $list["name"]; ?>
            <span class="ff_museo500 gray lighter cap f11"><?php echo " ,<br/>".$list["overview"]; ?></span></h3>
          <img width="97" height="75" src="<?php echo $list["avatar"]; ?>" alt="<?php echo "Best of Myanmar - ".$list["name"]; ?>" title="<?php echo "Best of Myanmar - ".$list["name"]; ?>" class="fl mgr8 pdl10"/>
            <!--<p class="blue mgt0 mgb0"><?php echo $list["address"]; ?></p>-->
          <div class="fl w273 pdr20"><strong class="black"><?php echo $list["service"] ?></strong><br>
            <span class="black"><?php echo $list["description"] ?></span> </div>
          <div class="fr w60 txt_center ff_museo500"> <strong class="f18 ff_museo500 lighter orange">$<?php if(isset($list["price"])==NULL) echo "0"; else echo $list["price"] ?></strong><br>
            <a href="javascript:void(0);" onclick="DetailCar('<?php echo $list['id'] ?>','<?php echo $_GET['provide'] ?>','<?php echo $_GET['service'] ?>','<?php echo $_GET['type'] ?>');" class="item ff_museo500 bgr_143167 white pdt4 pdb3 f14 mgt4 cursor_poiter">BOOK</a> </strong></div><strong class="f14 orange">
        </strong></div>
        <?php }?>
      </div>
    </div>
  </div>
  <div class="item pdt16 pdb16">
    <div class="fr"> <img width="10" height="15" class="fl bder_d5 fl pdt4 pdb4 pdl7 pdr9 mgl5 cursor_poiter" onclick="LeftClick3('spnumberpage','sptotalpage','boxoutsize');" src="<?php echo base_url(); ?>public/images/arrow_01.jpg">
      <?php for($i=1;$i<=ceil(count($total)/10);$i++){?>
      <div id="divpager<?php echo $i ?>" class="bder_d5 fl pdt4 pdb4 txt_center w24 mgl5 black cursor_poiter" onclick="loaddata('<?php echo $i ?>','boxoutsize',postdata,'spnumberpage','sptotalpage','getajax_guild_search_result',listroomhotel);"><?php echo $i ?></div>
      <?php
	}?>
      <img width="10" height="15" class="fl bder_d5 fl pdt4 pdb4 pdl9 pdr7 mgl5 cursor_poiter" src="<?php echo base_url(); ?>public/images/arrow_03.png" onclick="RightClick3('spnumberpage','sptotalpage','boxoutsize','getajax_car_search_result',listroomhotel,'<?php echo $_GET['type'] ?>','<?php echo $_GET['provide'] ?>','<?php echo $_GET['service'] ?>');"> </div>
    <script>
		var postdata={type:'<?php echo $_GET['type'] ?>',destination:'<?php echo $_GET["provide"] ?>',dropto:'<?php echo $_GET['service'] ?>'};				
		</script>
  </div>
  <?php $this->load->view("usercontrol/suggestions"); ?>
</div>
<div class="fr w193 pdt10"> <img width="100%" class="fl mgt5" src="<?php echo base_url(); ?>public/images/rightbanner_03.png"> <img width="100%" class="fl mgt5" src="<?php echo base_url(); ?>public/images/rightbanner_03.png"> </div>
<script>
	var listroomhotel=Array();
	
	for(var i=1;i<=1000;i++){		
		listroomhotel[i]=false;		
	}
	listroomhotel[1]=true;
	
	
</script>
